﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace SimpleRest.Core.Exceptions
{
    public class MalformedRouteUriException : WebExceptionBase
    {
        public MalformedRouteUriException(string uri)
            : base(string.Format("Route uri was malformed.  {0}", uri)) { }

        public override System.Net.HttpStatusCode StatusCode
        {
            get { return System.Net.HttpStatusCode.InternalServerError; }
        }

        public override string ErrorCode
        {
            get { return string.Empty; }
        }
    }
}
